<?xml version="1.0" encoding="UTF-8" ?>
<INSUREQ>
    <HEAD>
        <TRANSRNO>CIC001</TRANSRNO>
        <PARTNERCODE>${facadeAppForm.partnerNo}</PARTNERCODE>
        <PARTNERSUBCODE>${facadeAppForm.partneSaleNo}</PARTNERSUBCODE>
    </HEAD>
    <MAIN>
        <USERCODE><#if USERCODE??>${USERCODE}</#if></USERCODE>
        <OTHERPAYID></OTHERPAYID>
        <PRODUCTCODE><#if facadeAppForm.insuPlanNo??>${facadeAppForm.insuPlanNo}</#if></PRODUCTCODE>
        <SERIALNUMBER><#if SERIALNUMBER??>${SERIALNUMBER}</#if></SERIALNUMBER>
        <TRANSRDATE>${.now?string("yyyy-MM-dd HH:mm:ss")}</TRANSRDATE>
        <PRODUCTUNIT><#if facadeAppForm.unirPp??>${facadeAppForm.unirPp}</#if></PRODUCTUNIT>
        <EFFDATE><#if facadeAppForm.stringEffDate??>${facadeAppForm.stringEffDate}</#if></EFFDATE>
        <TERMDATE><#if facadeAppForm.stringTermDate??>${facadeAppForm.stringTermDate}</#if></TERMDATE>
        <CATALOGPREMIUM><#if facadeAppForm.totPremamt??>${facadeAppForm.totPremamt?string("0.00")}</#if></CATALOGPREMIUM>
        <BBRUNIT><#if facadeAppForm.insuredCount??>${facadeAppForm.insuredCount?c}</#if></BBRUNIT>
        <BUSITYPE>T</BUSITYPE>
        <CARD_NO><#if cardNo??>${cardNo}</#if></CARD_NO>
        <MODEMARK>激活卡出单</MODEMARK>
        <#if facadeAppFormExtend.mainVehicleNature??>
            <VEHICLENATURE>${facadeAppFormExtend.mainVehicleNature}</VEHICLENATURE>
        </#if>
    </MAIN>
    <HEALPOLICYINFO>
        <#if facadeAppApplicant??>
            <TBR>
                <TBRNAME><#if facadeAppApplicant.clientName??>${facadeAppApplicant.clientName}</#if></TBRNAME>
                <TBRSEX><#if facadeAppApplicant.sex??>${facadeAppApplicant.sex}</#if></TBRSEX>
                <TBRIDTYPE><#if facadeAppApplicant.certificateType??>${facadeAppApplicant.certificateType}</#if></TBRIDTYPE>
                <TBRIDNO><#if facadeAppApplicant.certificateCode??>${facadeAppApplicant.certificateCode}</#if></TBRIDNO>
				<TBRNATURE><#if facadeAppApplicant.appNature??>${facadeAppApplicant.appNature}</#if></TBRNATURE>
                <TBRBIRTH><#if facadeAppApplicant.clientBir??>${facadeAppApplicant.clientBir}</#if></TBRBIRTH>
                <TBRADDR><#if facadeAppApplicant.address??>${facadeAppApplicant.address}</#if></TBRADDR>
                <TBRPOSTCODE></TBRPOSTCODE>
                <TBRTEL><#if facadeAppApplicant.linkmanTel??>${facadeAppApplicant.linkmanTel}</#if></TBRTEL>
                <TBRMOBILE><#if facadeAppApplicant.linkmanTel??>${facadeAppApplicant.linkmanTel}</#if></TBRMOBILE>
                <TBREMAIL><#if facadeAppApplicant.email??>${facadeAppApplicant.email}</#if></TBREMAIL>
                <TBRWORKTYPE><#if facadeAppApplicant.workType??>${facadeAppApplicant.workType}</#if></TBRWORKTYPE>
                <TBRBBRRELATION><#if facadeAppApplicant.relWithInsured??>${facadeAppApplicant.relWithInsured}</#if></TBRBBRRELATION>
                <IDENTIFYPERIODFLAG><#if facadeAppApplicant.identifyperiodFlag??>${facadeAppApplicant.identifyperiodFlag}</#if></IDENTIFYPERIODFLAG>
                <IDENTIFYPERIODSTART><#if facadeAppApplicant.identifyperiodStart??>${facadeAppApplicant.identifyperiodStart}</#if></IDENTIFYPERIODSTART>
                <IDENTIFYPERIODEND><#if facadeAppApplicant.identifyperiodEnd??>${facadeAppApplicant.identifyperiodEnd}</#if></IDENTIFYPERIODEND>
            </TBR>
        </#if>
        <#if facadeAppInsureds??>
         <BBRS>
            <#list facadeAppInsureds as facadeAppInsured>
                <BBR>
                    <BBRNAME><#if facadeAppInsured.clientName??>${facadeAppInsured.clientName}</#if></BBRNAME>
                    <BBRSEX><#if facadeAppInsured.sex??>${facadeAppInsured.sex}</#if></BBRSEX>
                    <BBRBIRTH><#if facadeAppInsured.clientBir??>${facadeAppInsured.clientBir}</#if></BBRBIRTH>
                    <BBRIDTYPE><#if facadeAppInsured.idType??>${facadeAppInsured.idType}</#if></BBRIDTYPE>
                    <BBRIDNO><#if facadeAppInsured.idNo??>${facadeAppInsured.idNo}</#if></BBRIDNO>
                    <BBRADDR></BBRADDR>
                    <BBRPOSTCODE></BBRPOSTCODE>
                    <BBRTEL></BBRTEL>
                    <BBRMOBILE><#if facadeAppInsured.clientTel??>${facadeAppInsured.clientTel}</#if></BBRMOBILE>
                    <BBREMAIL></BBREMAIL>
                    <BBRWORKTYPE><#if facadeAppInsured.workType??>${facadeAppInsured.workType}</#if></BBRWORKTYPE>
                    <BBRCATEGORY></BBRCATEGORY>
                    <BENIFITMARK><#if facadeAppInsured.facadeAppBeneficiarys??>Y<#else>N</#if></BENIFITMARK>
                    <#if facadeAppInsured.facadeAppBeneficiarys??>
                        <SYRS>
                            <#list facadeAppInsured.facadeAppBeneficiarys as facadeAppBeneficiary>
                            <SYR>
                                <SYRNAME><#if facadeAppBeneficiary.clientName??>${facadeAppBeneficiary.clientName}</#if></SYRNAME>
                                <SYRSEX><#if facadeAppBeneficiary.sex??>${facadeAppBeneficiary.sex}</#if></SYRSEX>
                                <SYRBIRTH><#if facadeAppBeneficiary.clientBir??>${facadeAppBeneficiary.clientBir}</#if></SYRBIRTH>
                                <SYRIDTYPE><#if facadeAppBeneficiary.idType??>${facadeAppBeneficiary.idType}</#if></SYRIDTYPE>
                                <SYRIDNO><#if facadeAppBeneficiary.idNo??>${facadeAppBeneficiary.idNo}</#if></SYRIDNO>
                                <RELATIONTOINSURED><#if facadeAppBeneficiary.relWithInsured??>${facadeAppBeneficiary.relWithInsured}</#if></RELATIONTOINSURED>
                                <BENIFITPROPORTION><#if facadeAppBeneficiary.benePct??>${facadeAppBeneficiary.benePct}</#if></BENIFITPROPORTION>
                            </SYR>
                            </#list>
                        </SYRS>
                    </#if>
                </BBR>
            </#list>
        </BBRS>
        </#if>
           <#if facadeAppFormExtend??>
                <#if facadeAppFormExtend.plateNum??||facadeAppFormExtend.chassisNum??||facadeAppFormExtend.vehicleNature??>
                <CARINFO>
                    <LICENSENO><#if facadeAppFormExtend.plateNum??>${facadeAppFormExtend.plateNum}</#if></LICENSENO>
                    <FRAMENO><#if facadeAppFormExtend.chassisNum??>${facadeAppFormExtend.chassisNum}</#if></FRAMENO>
                    <SEATCOUNT><#if facadeAppFormExtend.seatNum??>${facadeAppFormExtend.seatNum}</#if></SEATCOUNT>
                    <USENATURE><#if facadeAppFormExtend.useNature??>${facadeAppFormExtend.useNature}</#if></USENATURE>
                    <CARTYPE><#if facadeAppFormExtend.carType??>${facadeAppFormExtend.carType}</#if></CARTYPE>
                    <VEHICLENATURE><#if facadeAppFormExtend.vehicleNature??>${facadeAppFormExtend.vehicleNature}</#if></VEHICLENATURE>
                </CARINFO>
                </#if>
                <#if facadeAppFormExtend.departureDate??>
                <TRAIN>
                    <TRAINNUMBER><#if facadeAppFormExtend.trainNumber??>${facadeAppFormExtend.trainNumber}</#if></TRAINNUMBER>
                    <SEATNUMBER><#if facadeAppFormExtend.seatNumber??>${facadeAppFormExtend.seatNumber}</#if></SEATNUMBER>
                    <DEPARTUREDATE><#if facadeAppFormExtend.departureDate??>${facadeAppFormExtend.departureDate}</#if></DEPARTUREDATE>
                    <DEPARTUREHOUR><#if facadeAppFormExtend.departureHour??>${facadeAppFormExtend.departureHour}</#if></DEPARTUREHOUR>
                    <ARRIVALTIME><#if facadeAppFormExtend.arrivalTime??>${facadeAppFormExtend.arrivalTime}</#if></ARRIVALTIME>
                    <TICKETNUMBER><#if facadeAppFormExtend.ticketNumber??>${facadeAppFormExtend.ticketNumber}</#if></TICKETNUMBER>
                    <VEHICLE><#if facadeAppFormExtend.vehicle??>${facadeAppFormExtend.vehicle}</#if></VEHICLE>
                    <TICKETNO><#if facadeAppFormExtend.ticketNo??>${facadeAppFormExtend.ticketNo}</#if></TICKETNO>
                    <DEPARTURESTATION><#if facadeAppFormExtend.departureStation??>${facadeAppFormExtend.departureStation}</#if></DEPARTURESTATION>
                    <ARRIVALSTATION><#if facadeAppFormExtend.arrivalStation??>${facadeAppFormExtend.arrivalStation}</#if></ARRIVALSTATION>
                    <RATIONPERIOD><#if facadeAppFormExtend.rationPeriod??>${facadeAppFormExtend.rationPeriod}</#if></RATIONPERIOD>
                </TRAIN>
                </#if>
        </#if>
        <ANESTHTYPE><#if facadeAppFormExtend.anesthType??>${facadeAppFormExtend.anesthType}</#if></ANESTHTYPE>
        <TRAVEL>
            <LINE><#if facadeAppForm.trip??>${facadeAppForm.trip}</#if></LINE>
        </TRAVEL>
        <#if facadeAppForm.stringBorrowTime??>
            <LOANINFO>
                <LOANDATE><#if  facadeAppForm.stringBorrowTime??>${facadeAppForm.stringBorrowTime}</#if></LOANDATE>
                <REPAIDDATE><#if  facadeAppForm.stringRepayTime??>${facadeAppForm.stringRepayTime}</#if></REPAIDDATE>
                <REPAIDTYPE><#if facadeAppForm.repaidType??>${facadeAppForm.repaidType}</#if></REPAIDTYPE>
                <LOANWAY><#if facadeAppForm.loanWay??>${facadeAppForm.loanWay}</#if></LOANWAY>
                <CURRENCY><#if  CURRENCY??>${CURRENCY}</#if></CURRENCY>
                <BENIFITPRINTFLAG><#if  BENIFITPRINTFLAG??>${BENIFITPRINTFLAG}</#if></BENIFITPRINTFLAG>
                <LOANBANKSITENAME><#if facadeAppForm.loanBankSitename??>${facadeAppForm.loanBankSitename}</#if></LOANBANKSITENAME>
                <BANKLINKERNAME><#if facadeAppForm.bankLinkerName??>${facadeAppForm.bankLinkerName}</#if></BANKLINKERNAME>
                <BANKLINKERPHONE><#if facadeAppForm.bankLinkerPhone??>${facadeAppForm.bankLinkerPhone}</#if></BANKLINKERPHONE>
            </LOANINFO>
        </#if>
        <#if facadeAppInsureds??>
            <#list facadeAppInsureds as facadeAppInsured>
                <STUINFO>
                    <SCHOOLNATURE><#if facadeAppInsured.schoolNature??>${facadeAppInsured.schoolNature}</#if></SCHOOLNATURE>
                    <STUDENTTYPE><#if facadeAppInsured.studentType??>${facadeAppInsured.studentType}</#if></STUDENTTYPE>
                    <SCHOOLTYPE><#if facadeAppInsured.schoolType??>${facadeAppInsured.schoolType}</#if></SCHOOLTYPE>
                </STUINFO>
            </#list>
        </#if>
        
    </HEALPOLICYINFO>
</INSUREQ>